package com.victor9ac.tfm.mashup.connector.adapter.spring.restTemplate;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
@Path("/mashup")
public class FakeRestService
{
    @GET
    @Path("comments/{key}")
    @Produces(MediaType.APPLICATION_JSON)
    public RestObject getit(@PathParam("key") String key) {
 
    	RestObject restObj = new RestObject(key);	
        System.out.println("key: "+key);        
        return restObj;
    }
}